<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="<?=css_path();?>common.css" rel="stylesheet" type="text/css" />
<title>修改密码</title>
</head>
<body>
<form id="form1" name="form1" method="post" action="<?php echo site_url("admin/edit/{$row->id}");?>">
<input type="hidden" name="id" value="<?php echo $row->id;?>" />
    <div id="man_zone">
      <table width="99%" border="0" align="center" id="datalist"  cellpadding="3" cellspacing="1" class="table_style">
         <tr>
          <td colspan="2" class="center_title">修改管理员</td>
        </tr>
        <tr>
            <td width="20%">管理员名:</td>
        	<td><input type="text" name="account" value="<?php echo $row->account;?>" readonly/></td>
        </tr>
        <tr>
            <td width="20%">类型:</td>
        	<td>
	        	<select name="type">
		        	<option value="super" <?php if($row->type=="super"):?>selected<?php endif;?>>超级管理员</option>
		        	<option value="yunying" <?php if($row->type=="yunying"):?>selected<?php endif;?>>运营</option>
	        	</select>
        	</td>
        </tr>
        <tr>
            <td width="20%">密码:</td>
        	<td><input type="password" name="password" /></td>
        </tr>
        <tr>
            <td width="20%">重复密码:</td>
        	<td><input type="password" name="repassword" /></td>
        </tr>
    	<tr>
         	<td colspan="2" class="center_title"><input type="submit" name="" value="提交" /><input type="button" name="button" value="返回" onClick="javascript:window.history.back();" /></td>
    	</tr>
      </table>
    </div>
</form>
</body>
</html>

